﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Manage/Base.Master" AutoEventWireup="true" CodeBehind="SiteDetail.aspx.cs" Inherits="Exhibition.Manage.SiteDetail" %>

 
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <script type="text/javascript">
        $(function () {
            YXQ.UploadCenter.FileUploadCenter("uploadcontent");
        })

    </script>
    <input type="hidden" runat="server" id="hfId" DataField="hfId" />

    <table class="tbs_table">

        <tr>
            <td colspan="4" class="htitle">网站基础信息设置</td>
        </tr>

        <tr>
            <td class="tdtitle" style="width: 98px">网站名称</td>
            <td class="tddata">
                <input type="text" runat="server" id="txtWebName" datafield="txtWebName" /></td>

            <td class="tdtitle">关键词</td>
            <td class="tddata">
                <input type="text" runat="server" id="txtWebKey" datafield="txtWebKey" /></td>
        </tr>

        <tr>
            <td class="tdtitle" style="width: 98px">站长邮箱</td>
            <td class="tddata">
                <input type="text" runat="server" id="txtWebEmail" datafield="txtWebEmail" /></td>

            <td class="tdtitle">邮箱密码</td>
            <td class="tddata">
                <input type="text" runat="server" id="txtEmailPwd" datafield="txtEmailPwd" /> Smtp:<input type="text" runat="server" id="smtpServer" datafield="smtpServer" /></td>
        </tr>
        <tr>
            <td class="tdtitle" style="width: 98px">网站logo</td>
            <td class="tddata">
                <div id="fileQueue">

                    <input type="file" name="uploadify" id="uploadify" />
                    <p>
                        <br />
                        <a href="javascript:$('#uploadify').uploadifyUpload()">上传</a>| <a href="javascript:$('#uploadify').uploadifyClearQueue()">取消上传</a>
                    </p>
                </div>

            </td>

            <td colspan="2" class="imagePreviewCell">
                <span id="spPic" runat="server" datafield="spPic" />
                <input type="hidden" runat="server" id="hfPic" datafield="hfPic" />

            </td>
        </tr>
        <tr>
            <td class="tdtitle" style="width: 98px">网站倒计时</td>
            <td class="tddata">
                <input type="text" runat="server" id="txtEndDate" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd'})" datafield="txtEndDate" /></td>

            <td class="tdtitle">模板风格</td>
            <td class="tddata">
                <asp:ListBox ID="lstTemp" runat="server" Height="38px" Width="292px">
                    <asp:ListItem Value="1">默认模板</asp:ListItem>
                </asp:ListBox>

            </td>
        </tr>
        <tr>
            <td class="tdtitle" style="width: 98px">描述</td>
            <td class="tddata" colspan="3">
                <asp:TextBox ID="txtWebDesc" TextMode="MultiLine" runat="server" Rows="5" Columns="80"></asp:TextBox>
            </td>
        </tr>
         <tr>
            <td class="tdtitle" style="width: 98px">注册邮件</td>
            <td class="tddata" colspan="3">
                <asp:TextBox ID="emailReg" TextMode="MultiLine" runat="server" Rows="5" Columns="80"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td colspan='4' align='center'>
                <asp:Button ID="btnSave" runat="server" Text="保存" CssClass="bt_wb1" OnClick="btnSave_Click" />&nbsp;&nbsp;
                <input type="button" value="返回" class="bt_wb1" onclick="window.parent.unblock();" /></td>
        </tr>
    </table>
     <script type="text/javascript">
         var editor = CKEDITOR.replace('<%=txtWebDesc.ClientID%>'); 
         var editor1 = CKEDITOR.replace('<%=emailReg.ClientID%>'); 
        
    </script>
</asp:Content>
